package com.lancoo.znbkxx.teacher.model.data

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize


/**
 * @author : wealive
 * @date   : 2020/3/12 10:00
 * @desc   :
 */
@Parcelize
data class Classical(
    val AnswerList: MutableList<ChildClassical>,
    val CourseClassID: String,
    val IsSelected: Int,
    val PaperID: String,
    val SetID: String,
    val StuID: String,
    val StuName: String
) : Parcelable {
    override fun equals(other: Any?): Boolean {
        return if (other == null) false
        else other is Classical
    }
}

@Parcelize
data class ChildClassical(
        val AudioPath: String,
        val ChildAnswer: String,
        val ChildIndex: Int,
        val EvalScore: Double,
        val ImagePath: String,
        val ItemList: MutableList<ItemClassical>,
        val ScoreRate: Double,
        val SortIndexType: Int,
        val State: Int,
        val StuAnswer: String,
        val TotalScore: Double,
        val WrittingAnswerType: Int
) : Parcelable

@Parcelize
data class ItemClassical (
        val AudioPath: String,
        val EvalScore: Double,
        val ImagePath: String,
        val ItemAnswer: String,
        val ItemAskList: MutableList<StuAnswer>,
        val ItemIndex: Int,
        val ScoreRate: Double,
        val State: Int,
        val StuAnswer: String,
        val TotalScore: Double,
        val WrittingAnswerType: Int
) : Parcelable
